package com.pf.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author PanFei
 * @version 1.0.0
 * @createTime 2022/6/28 21:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName(value = "parent_table")
public class Parent {
    @TableId(value = "parent_id", type = IdType.AUTO)
    private Integer parentId;
    private String parentName;
}
